package com.zhentao.tcp1.repository;

import com.zhentao.tcp1.model.ParkingOwner;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;
@Repository
public interface ParkingOwnerRepository extends JpaRepository<ParkingOwner, Long> {
    Optional<ParkingOwner> findByLicensePlate(String licensePlate);
}
